//Laravel ⛳ DB::table('table_name') ->select('*',DB::raw('DATE(created_at) as date')) ->get()->groupBy('date');